#include "inoutstockdata.h"

InOutStockData::InOutStockData()
{

}

InOutStockData::InOutStockData(int user_id, int things_id, int do_type, int number,const QString &time)
{
    this->user_id=user_id;
    this->things_id=things_id;
    this->do_type=do_type;
    this->number=number;
    this->time=time;
}

InOutStockData::InOutStockData(InOutStockData *tings)
{
    this->user_id=tings->getUser_id();
    this->things_id=tings->getThings_id();
    this->do_type=tings->getDo_type();
    this->number=tings->getNumber();
    this->time=tings->getTime();
}

int InOutStockData::getThings_id() const
{
    return things_id;
}

void InOutStockData::setThings_id(int value)
{
    things_id = value;
}

int InOutStockData::getUser_id() const
{
    return user_id;
}

void InOutStockData::setUser_id(int value)
{
    user_id = value;
}

int InOutStockData::getDo_type() const
{
    return do_type;
}

void InOutStockData::setDo_type(int value)
{
    do_type = value;
}

int InOutStockData::getNumber() const
{
    return number;
}


void InOutStockData::setNumber(int value)
{
    number = value;
}

QString InOutStockData::getTime() const
{
    return time;
}

void InOutStockData::setTime(const QString &value)
{
    time = value;
}
